using UnityEngine;
using System.Collections;

public class WalkCube : MonoBehaviour {
	public int velocity = 5;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
		if(Input.GetKey("d")){
			transform.Translate(velocity,0,0);
		}
		if(Input.GetKey("a")){
			transform.Translate(-velocity,0,0);
		}
	}
}
